var agreement=angular.module("agreement",[]);
agreement.directive('agreement',function(){
    return {
        restrict : 'EA',
        transclude : true,
        scope : {
            conf : '='
        },
        templateUrl:'page/directive/agreement.html',
        link : function(scope, element, attrs) {
            scope.conf.showAgreementContent=false;
            scope.hideAgreementContent = function() {
                scope.conf.showAgreementContent =false;
            }
        }
    }
})


